package com.rp.common.parameter;

import io.swagger.annotations.ApiModel;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * 类说明:
 *
 * @author ****
 * @date 2019-11-07 9:59  新建
 */
@ApiModel(description="全局参数")
@Configuration
public class Parameter {

    private static String visiturl;

    public static String getVisiturl() {
        return visiturl;
    }

    @Value("${logging.visiturl}")
    public void setVisiturl(String visiturl) {
        Parameter.visiturl = visiturl;
    }


    private static String uploadurl;

    public static String getUploadurl() {
        return uploadurl;
    }

    @Value("${logging.uploadurl}")
    public void setUploadurl(String uploadurl) {
        Parameter.uploadurl = uploadurl;
    }

    private static String pathurl;

    public static String getPathurl() {
        return pathurl;
    }

    @Value("${logging.pathurl}")
    public void setPathurl(String pathurl) {
        Parameter.pathurl = pathurl;
    }

    private static String disposeAlarmUrl;

    public static String getDisposeAlarmUrl() {
        return disposeAlarmUrl;
    }

    @Value("${logging.disposeAlarmUrl}")
    public void setDisposeAlarmUrl(String disposeAlarmUrl) {
        Parameter.disposeAlarmUrl = disposeAlarmUrl;
    }

    //部署到外高桥本地服务器之后的

    public static String createURL = "/home/rupeng119";
    public static String reloadURL = "http://192.168.3.9:8099/reloadConf";

}
